import type { RouteRecordRaw } from 'vue-router'
import type { categoryObj } from '@/api/product/attr/types'

export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  name: string
  avatar: string
  buttons: string[]
}

export interface categoryState {
  c1Arr: categoryObj[]
  c2Arr: categoryObj[]
  c3Arr: categoryObj[]
  categoryIdObj: {
    category1Id: string
    category2Id: string
    category3Id: string
  }
}
